<?php

namespace frontend\models;

use Yii;

/**
 * This is the model class for table "{{%position_type}}".
 *
 * @property integer $position_type_id
 * @property string $position_type_name
 */
class PositionType extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%position_type}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['position_type_name'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'position_type_id' => 'Position Type ID',
            'position_type_name' => 'Position Type Name',
        ];
    }
}
